package com.dayuanit.pay.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {
	
	public static final String PATTERN_YYYYMMDDHHMMSS = "yyyyMMddhhmmss";
	
	public static String dateToString(Date date, String pattern) {
		return new SimpleDateFormat(pattern).format(date);
	}

}
